package ar.edu.unrn.lia.service;

import java.util.List;
import java.util.Map;

import ar.edu.unrn.lia.model.Barrio;

public interface BarrioService {

	public void save(Barrio entity);

	public void update(Barrio entity);

	public void delete(Barrio entity);

	public Barrio getEntityById(Long id);

	public List<Barrio> getAll();

	public Long getCount(Map<String, String> filters);

	public List<Barrio> getList(Integer page, Integer pagesize,
			Map<String, String> filters, String sortField, Boolean asc);

	public List<Barrio> findByQuery(String query, String propertyFilter,
			String orderDirection);
}